package org.example.dao.inter;

import org.example.entitys.managers.Class;

import java.util.List;

/**
 * @Description
 * @Author 魏锴
 * @Date 2023/11/14
 */
public interface ClassDao extends baseDao<Class> {
    int updateTeacher(int class_id, int teacher_id);

    int updateAssistant(int class_id, int assistant_id);

    int updateActivity(Class aClass);

    List<Class> queryByTeacher(int teacher_id);

    List<Class> queryByActivity(int activity_id);

    int addStudentInClass(int class_id, int student_id);
}
